﻿using System;

namespace Telerik.Sitefinity.Social.Contracts
{
    /// <summary>
    /// Mandates the members that must be implemented by every class that wishes to act as a Connection
    /// </summary>
    [Telerik.OpenAccess.Persistent]
    public interface IConnection
    {
        /// <summary>
        /// Gets or sets the id.
        /// </summary>
        /// <value>The id.</value>
        Guid Id { get; set; }

        /// <summary>
        /// Gets or sets the person1 username.
        /// </summary>
        /// <value>The person1 username.</value>
        string Person1Username { get; set; }

        /// <summary>
        /// Gets or sets the person2 username.
        /// </summary>
        /// <value>The person2 username.</value>
        string Person2Username { get; set; }

        /// <summary>
        /// Gets or sets the connection description.
        /// </summary>
        /// <value>The connection description.</value>
        string ConnectionDescription { get; set; }

        /// <summary>
        /// Gets or sets the connection date.
        /// </summary>
        /// <value>The connection date.</value>
        DateTime ConnectionDate { get; set; }
    }
}
